package com.example.databasepj.entity;

import lombok.Data;
@Data
public class MerchantEntity {
    private int merchant_id;
    private String merchant_name;
    private String address;
    private String password;

    public MerchantEntity(int merchant_id, String merchant_name, String address, String password) {
        this.merchant_id = merchant_id;
        this.merchant_name = merchant_name;
        this.address = address;
        this.password = password;
    }

    public MerchantEntity(String merchant_name, String address, String password) {
        this.merchant_name = merchant_name;
        this.address = address;
        this.password = password;
    }

    public int getMerchant_id() {
        return merchant_id;
    }

    public void setMerchant_id(int merchant_id) {
        this.merchant_id = merchant_id;
    }

    public String getMerchant_name() {
        return merchant_name;
    }

    public void setMerchant_name(String merchant_name) {
        this.merchant_name = merchant_name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
